/*
 * @Author: songxinfeng
 * @Date: 2025/1/15
 * @Description: CRM系统样式重置文件
 */

/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

#app {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* Element Plus 组件样式重置 */
.el-container {
  margin: 0;
  padding: 0;
}

.el-aside {
  margin: 0;
  padding: 0;
}

.el-header {
  margin: 0;
  padding: 0;
  line-height: normal;
}

.el-main {
  margin: 0;
  padding: 0;
}

.el-menu {
  margin: 0;
  padding: 0;
}

/* 确保布局组件填满容器 */
.layout-container,
.sidebar-container,
.main-container,
.header-container,
.main-content {
  margin: 0;
  padding: 0;
}

/* 禁用默认的body边距和内边距 */
body {
  margin: 0 !important;
  padding: 0 !important;
  background-color: #f5f7fa;
}
